package routes

import (
	"net/http"

	"github.com/gin-gonic/gin"
)

// InitUserRoute 初始化user 集合
func InitUserRoute(group *gin.RouterGroup) {
	// 所有user 相关的路由前缀
	group = group.Group("/user")
	group.GET("/list", func(context *gin.Context) {
		context.JSON(http.StatusOK, gin.H{
			"code": 200,
			"msg":  "hello",
		})
	})
}
